<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ErrorFrm.aspx.cs" Inherits="BizElements.Web.UI.ErrorFrm" culture="auto" uiculture="auto" %>
<%@ Register Src="~/Common/FormFooter.ascx" TagName="FormFooter" TagPrefix="uc2" %>
<%@ Register Src="~/Common/FormHeader.ascx" TagName="FormHeader" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title></title>
    <link href="/css/main.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript">
        function ToggleDetails()
        {
            var ctlDetails = document.getElementById("uiDetailsRow");
            var bIsHidden = (ctlDetails.style["display"] == "none");
            ctlDetails.style["display"] = (bIsHidden) ? "" : "none";
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="text-align:center; width:600px; margin-left:10px" border="0" cellpadding="0" cellspacing="0">
            <tr><td><uc1:FormHeader ID="uiFormHeader" runat="server" meta:resourcekey="uiFormHeader" /></td></tr>
            <tr>
		        <td class="table-border-grey" style="text-align:left">	
		            <table class="font-bold-grey" cellspacing="1" cellpadding="2" width="100%" border="0">
		                <tr>
		                    <td>
		                        <asp:PlaceHolder ID="uiBrokenRulePnl" runat="server" Visible="False">
                                    <table style="width:600px" cellpadding="0" cellspacing="0" border="0" class="font-bold-grey">
                                        <tr>
                                            <td><asp:Label ID="uiBrokenRuleCaption" runat="server" Font-Size="Small" meta:resourcekey="uiBrokenRuleCaption"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td><asp:Label ID="uiBrokenRuleGenericMessage" runat="server" meta:resourcekey="uiBrokenRuleGenericMessage"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td><asp:Label ID="uiBrokenRuleDescriptionTitle" runat="server" Font-Size="Small" meta:resourcekey="uiBrokenRuleDescriptionTitle"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td><asp:Label ID="uiBrokenRuleDescription" runat="server" meta:resourcekey="uiBrokenRuleDescription"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;</td>
                                        </tr>
                                    </table>
                                </asp:PlaceHolder>
                                <asp:PlaceHolder ID="uiCriticalPnl" runat="server" Visible="False">
                                    <table style="width:600px" cellpadding="0" cellspacing="0" border="0" class="font-bold-grey">
                                        <tr>
                                            <td><asp:Label ID="uiCriticalCaption" runat="server" Font-Size="Small" meta:resourcekey="uiCriticalCaption"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td><asp:Label ID="uiCriticalGenericMessage" runat="server" meta:resourcekey="uiCriticalGenericMessage"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;</td>
                                        </tr>
                                    </table>
                                </asp:PlaceHolder>
                                <asp:PlaceHolder ID="uiAppErrorPnl" runat="server" Visible="False">
                                    <table style="width:600px" cellpadding="0" cellspacing="0" border="0" class="font-bold-grey">
                                        <tr>
                                            <td><asp:Label ID="uiAppErrorCaption" runat="server" Font-Size="Small" meta:resourcekey="uiAppErrorCaption"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td><asp:Label ID="uiAppErrorGenericMessage" runat="server" meta:resourcekey="uiAppErrorGenericMessage"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;</td>
                                        </tr>
                                    </table>
                                </asp:PlaceHolder>
                                <asp:PlaceHolder ID="uiDetailsPnl" runat="server">
                                    <table style="width:600px" cellpadding="0" cellspacing="0" border="0" class="font-default">
                                        <tr>
                                            <td style="white-space:nowrap; padding-left:5px; padding-right:5px;"><hr style="color:#bbbbbb; border-style:none; height:1px" /></td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td><input id="uiToggleDetails" runat="server" type="button" onclick="ToggleDetails();" meta:resourcekey="uiToggleDetails" /></td>
                                        </tr>
                                        <tr>
                                            <td>&nbsp;</td>
                                        </tr>
                                        <tr id="uiDetailsRow" style="display:none">
                                            <td>
                                                <asp:Label ID="uiUserNameCaption" runat="server" meta:resourcekey="uiUserNameCaption"></asp:Label>
                                                <asp:Label ID="uiUserName" runat="server" meta:resourcekey="uiUserName"></asp:Label><br />
                                                <asp:Label ID="uiTimeCaption" runat="server" meta:resourcekey="uiTimeCaption"></asp:Label>
                                                <asp:Label ID="uiTime" runat="server" meta:resourcekey="uiTime"></asp:Label><br /><br />
                                                <asp:Label ID="uiExceptionDetails" runat="server" Text="" meta:resourcekey="uiExceptionDetails"></asp:Label><br /><br />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:PlaceHolder>
		                    </td>
		                </tr>
		            </table>
		        </td>
            </tr>
            <tr><td><uc2:FormFooter ID="FormFooter1" runat="server" /></td></tr>
        </table>        
    </div>
    </form>
</body>
</html>
